package priv.yiyuan.example.design.facade;

/**
 * PDF 转 HTML
 *
 * @author YiYuan
 * @data 2025/9/12
 * @apoNote
 */
public class PdfToHtmlStrategy implements DocumentConversionStrategy {

    @Override
    public String convert(String filePath) {
        System.out.println("正在将PDF文档 " + filePath + " 转换为HTML...");

        return "<html><body><h1>PDF Document: " + filePath + "</h1><p>Converted from PDF.</p></body></html>";
    }

}
